package com.lx.tldoj.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 题目
 * @TableName competition
 */
@TableName(value ="contest_participants")
@Data
public class CompetitionJoin implements Serializable {
    
    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    private Long contestId;
    private Long userId;
    private Date joinedAt;
    private Integer status;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}